from . import views
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('goods', views.GoodsView, 'goods')
router.register('top', views.TopGoodsView, 'top')
router.register('time', views.TimeView, 'time')
router.register('detail', views.GoodsDetailView, 'detail')
router.register('search', views.GoodsSearchView, 'search')
router.register('category', views.GoodsCategoryView, 'category')
router.register('one', views.GoodsOneView, 'one')
urlpatterns = [
]
urlpatterns += router.urls
